package com.ai.model.excelParam;

import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.data.annotation.Transient;

import java.io.Serializable;
import java.util.Date;

/**
 * @Author jiaok
 * @Date 2023-10-17 15:21
 */
@Data
public class CameraExcelParam implements Serializable {

    @ExcelProperty(value = "主键ID")
    private Integer id;

    @ExcelProperty(value ="代号（备用主键）")
    private String code;

    @ExcelProperty(value ="摄像头编码")
    private String cameraIndex;

    @ExcelProperty(value ="摄像头名")
    private String nickname;

    @ExcelProperty(value ="摄像头帐号")
    private String username;

    @ExcelProperty(value ="摄像头密码")
    private String password;

    @ExcelProperty(value ="摄像头IP")
    private String ip;

    @ExcelProperty(value ="摄像头RTSP地址")
    private String url;

    @ExcelProperty(value ="状态(1.开，2.关，-1.弃用)")
    private Integer state;

    @ExcelProperty(value ="服务器ID")
    private Integer serverId;

//    @ExcelProperty(value ="服务器ID")
//    private String serverNickname;

//    @ExcelProperty(value ="数据添加时间")
//    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
//    private Date createTime;

    @ExcelProperty(value ="备注")
    private String remark;

    @ExcelProperty(value ="端口")
    private String port;

    @ExcelProperty(value ="取流方式,1rtsp 2天地伟业")
    private Integer streamWay;

//    @Transient
//    private String bindServerAdd;



}
